package summer_vacation.xuejiahua;

import java.util.Scanner;

/**
 * Created by Administrator on 2015/8/30.
 */
public class java_23 {

    public static void main(String[] args){
        System.out.println("请输入成绩：");

        Scanner s = new Scanner(System.in);

        int i = s.nextInt();

        if(i >= 90){

        System.out.println("A");
        }else if(i >= 80){

            System.out.println("B");
        }else if(i >= 70){

            System.out.println("C");
        }else if(i >= 60){

            System.out.println("D");
        }else{

            System.out.println("E");
        }
    }
}
